/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.nc.kyiv.yellow.sociallibrary.helper;

/**
 *
 * @author Evgeniy Grigorevskiy
 */
public class EscapeCharacters {
    public EscapeCharacters(){
        
    }
    public String EscapeCharactersForJSON(String inputString){
        String result = inputString.replace("\"", "\\\"");
        result = result.replace("’", "'");
        result = result.replace("—", "-");
        return result;
    }
}
